
var str = "hello , i am moyu , my website is http://47.100.42.191/personal/index.html,my phone is 15234492364,my friend is tom,his phone is 18735830777, his website is http://47.23.42.50/personal/index.html,his email is sxaufujie@163.com";

var pattern = /1[3|5|7|8]\d{9}/g;
//找到目标串中所有的手机号

let result = null;
while(result = pattern.exec(str)){
    console.log(result[0]);
}
